<?php
declare (strict_types=1);

namespace app\common\model;


/**
 * @mixin \think\Model
 */
class Book extends Base
{
    protected $autoWriteTimestamp = 'int';

    /**
     * scopeStatus #
     *
     * @param $query
     * @auth kouweihong
     * @date 2020/12/4
     */
    public function scopeStatus($query)
    {
        $query->where('status', '=', self::STATUS_0);
    }
}
